list1 = [45,166,489,4565,48,464,648,45,134,134,34,8,486]

try:
    i = int(input('您要找第几个数？'))
except ValueError:
    print('输入错误')

# if 0<i<14:
#     print(list1[i-1])
# else:
#     raise BaseException('你搞错了，回家洗洗睡吧！')

# excepiton 只会执行一条语句，不会多分支同时执行
try:
    print(list1[i-1])
except IndexError:
    print('输入错误')
# except NameError:
except BaseException:
    print('无法带入查找')